package com.ruoyi.group.mapper;

import com.ruoyi.group.domain.RpCommunication;
import com.ruoyi.group.domain.dto.DeptOrderDto;
import com.ruoyi.group.domain.dto.OrderDetailsDto;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author:黄志超
 * @Todo:TODO
 * @DateTime:2022/3/16 17:02
 * @Component:蜗牛
 **/
@Mapper
@SuppressWarnings("ALL")
public interface OrderDetailsMapper {
    DeptOrderDto findAll(@Param("userid") Integer userid,@Param("orderNo")String orderNO );

    //插入沟通记录
    int subCommunication(RpCommunication rpCommunication);

    Integer  queryOrder (String orderNo);

    int insertOrder (@Param("userOrderid") Integer userOrderid ,@Param("communicationId") Integer communicationId);

    List<RpCommunication> findKeeperOrder(String orderNO);
}
